from logger.api import Logger

def create_sample_logs():
    domains = ['mydomain', 'yourdomain']
    objs = ['obj1', 'obj2', 'obj3']
    eventtypes = ['info', 'warning', 'error']
    msg_kvs = [(None, None), ('User','Franz')]

    l = Logger()

    for domain in domains:
        for obj in objs:
            for eventtype in eventtypes:
                for kv in msg_kvs:
                    l.log(domain, obj,
                          msg_key=kv[0],
                          msg_value=kv[1],
                          eventtype=eventtype)



